home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 2: Applications / Linux Cubed Series 2 - Applications.iso / editors / emacs / uemacs-3.000 / uemacs-3 / uemacs-3.8 / uemacs-3.8.diff < prev    next >
Encoding:
Text File  |  1995-09-23  |  6.6 KB  |  210 lines

  1. ENDINGS ,v .old .orig
  2. ./Makefile,v ./Makefile
  3. --- ./Makefile    1995/09/22 22:42:23    1.1
  4. +++ ./Makefile    1995/09/23 00:46:22
  5. @@ -1,18 +1,27 @@
  6. -CFLAGS=        -O
  7. +CC = gcc
  8. +CFLAGS=        -O2 -m486 -pipe 
  9.  
  10. -OFILES=        ansi.o basic.o bind.o buffer.o display.o file.o \
  11. +# inital setup
  12. +# LIBS = -Wl,-Bstatic -ltermcap -Wl,-Bdynamic
  13. +#LIBS = -Wl,-Bstatic -lncurses -Wl,-dynamic
  14. +LIBS = -ltermcap
  15. +# LIBS = -lncurses
  16. +# LIBS= -lncurses -ltermcap
  17. +#CFLAGS += -DNCURSES=1 -DTERMCAP=1
  18. +
  19. +OFILES=        ansi.o basic.o buffer.o display.o file.o \
  20.          fileio.o hp150.o line.o lock.c main.o random.o region.o \
  21.          search.o spawn.o tcap.o termio.o vt52.o window.o word.o \
  22. -        exec.o eval.o isearch.o
  23. +        exec.o eval.o isearch.o input.o bind.o
  24.  
  25.  CFILES=        ansi.c basic.c bind.c buffer.c display.c  file.c \
  26.          fileio.c hp150.c line.c lock.c main.c random.c region.c \
  27.          search.c spawn.c tcap.c termio.c vt52.c window.c word.c \
  28. -        exec.c eval.c isearch.c
  29. +        exec.c eval.c isearch.c input.c
  30.  
  31.  HFILES=        estruct.h edef.h efunc.h epath.h ebind.h evar.h esearch.h
  32.  
  33.  emacs:        $(OFILES)
  34. -        $(CC) $(CFLAGS) $(OFILES) -ltermcap -lc -o emacs
  35. +        $(CC) $(CFLAGS) $(OFILES) ${LIBS} -o emacs
  36.  
  37.  $(OFILES):    $(HFILES)
  38. ./display.c,v ./display.c
  39. --- ./display.c    1995/09/22 22:44:43    1.1
  40. +++ ./display.c    1995/09/22 22:46:24
  41. @@ -771,7 +771,7 @@
  42.      if ((bp->b_flag&BFCHG) != 0)                /* "*" if changed. */
  43.          vtputc('*');
  44.      else
  45. -        vtputc(lchaX
  46. +        vtputc(lchar) ;
  47.      n  = 2;
  48.      strcpy(tline, " MicroEMACS ");        /* Buffer name. */
  49.      strcat(tline, VERSION);
  50. ./efunc.h,v ./efunc.h
  51. --- ./efunc.h    1995/09/22 22:47:11    1.1
  52. +++ ./efunc.h    1995/09/22 22:47:37
  53. @@ -353,7 +353,8 @@
  54.      {"reverse-incremental-search",    risearch},
  55.  #endif
  56.      {"save-file",            filesave},
  57. -    {"save-window",            savewnd}X    {"search-forward",        forwsearch},
  58. +    {"save-window",            savewnd},    
  59. +  {"search-forward",        forwsearch},
  60.      {"search-reverse",        backsearch},
  61.      {"select-buffer",        usebuffer},
  62.      {"set",                setvar},
  63. ./ansi.c,v ./ansi.c
  64. --- ./ansi.c    1995/09/22 22:56:11    1.1
  65. +++ ./ansi.c    1995/09/22 22:58:04
  66. @@ -4,7 +4,7 @@
  67.   * "termio.c". It compiles into nothing if not an ANSI device.
  68.   */
  69.  
  70. -#define    termdef    1            /* don't define "term" external */
  71. +/* #define    termdef    1 */            /* don't define "term" external */
  72.  
  73.  #include        <stdio.h>
  74.  #include    "estruct.h"
  75. @@ -55,23 +55,23 @@
  76.   */
  77.  TERM    term    = {
  78.      NROW-1,
  79. -        NROW-1,
  80. -        NCOL,
  81. -        NCOL,
  82. +  NROW-1,
  83. +  NCOL,
  84. +  NCOL,
  85.      MARGIN,
  86.      SCRSIZ,
  87.      NPAUSE,
  88. -        ansiopen,
  89. -        ansiclose,
  90. +  ansiopen,
  91. +  ansiclose,
  92.      ansikopen,
  93.      ansikclose,
  94. -        ttgetc,
  95. -        ttputc,
  96. -        ttflush,
  97. -        ansimove,
  98. -        ansieeol,
  99. -        ansieeop,
  100. -        ansibeep,
  101. +  ttgetc,
  102. +  ttputc,
  103. +  ttflush,
  104. +  ansimove,
  105. +  ansieeol,
  106. +  ansieeop,
  107. +  ansibeep,
  108.      ansirev,
  109.      ansicres
  110.  #if    COLOR
  111. ./estruct.h,v ./estruct.h
  112. --- ./estruct.h    1995/09/22 22:58:36    1.1
  113. +++ ./estruct.h    1995/09/23 00:38:35
  114. @@ -27,10 +27,10 @@
  115.  
  116.  #define AMIGA   0                       /* AmigaDOS            */
  117.  #define ST520   0                       /* ST520, TOS                   */
  118. -#define MSDOS   1                       /* MS-DOS                       */
  119. +#define MSDOS   0                       /* MS-DOS                       */
  120.  #define V7      0                       /* V7 UN*X or Coherent or BSD4.2*/
  121.  #define    BSD    0            /* UNIX BSD 4.2    and ULTRIX    */
  122. -#define    USG    0            /* UNIX system V        */
  123. +#define    USG    1            /* UNIX system V        */
  124.  #define VMS     0                       /* VAX/VMS                      */
  125.  #define CPM     0                       /* CP/M-86                      */
  126.  #define    FINDER    0            /* Macintosh OS            */
  127. @@ -38,7 +38,7 @@
  128.  /*    Compiler definitions            */
  129.  #define MWC86   0    /* marc williams compiler */
  130.  #define    LATTICE    0    /* Lattice 2.14 thruough 3.0 compilers */
  131. -#define    AZTEC    1    /* Aztec C 3.20e */
  132. +#define    AZTEC    0    /* Aztec C 3.20e */
  133.  #define    MSC    0    /* MicroSoft C compile version 3 */
  134.  #define MEGAMAX 0    /* Megamax C compiler */
  135.  
  136. @@ -46,7 +46,7 @@
  137.  #define    APROF    0    /* turn Aztec C profiling on? */
  138.  #define    NBUCK    100    /* number of buckets to profile */
  139.  #define    RAMSIZE    0    /* dynamic RAM memory usage tracking */
  140. -#define    RAMSHOW    0    /* auto dynamic RAM reporting */
  141. +#define    RAMSHOW    1    /* auto dynamic RAM reporting */
  142.  
  143.  /*   Special keyboard definitions            */
  144.  
  145. @@ -62,9 +62,10 @@
  146.  #define VT100   0                       /* Handle VT100 style keypad.   */
  147.  #define LK201   0                       /* Handle LK201 style keypad.   */
  148.  #define RAINBOW 0                       /* Use Rainbow fast video.      */
  149. -#define TERMCAP 0                       /* Use TERMCAP                  */
  150. -#define    IBMPC    1            /* IBM-PC CGA/MONO driver    */
  151. -#define    EGA    0            /* EGA IBM-PC specific driver    */
  152. +#define NCURSES 0  /* whether we are linking with ncurses that defines `meta' */
  153. +#define TERMCAP 1  /* Use TERMCAP                  */
  154. +#define    IBMPC    0            /* IBM-PC CGA/MONO driver    */
  155. +#define    EGA    0              /* EGA IBM-PC specific driver    */
  156.  #define    DG10    0            /* Data General system/10    */
  157.  #define    TIPC    0            /* TI Profesional PC driver    */
  158.  #define    MAC    0            /* Macintosh            */
  159. @@ -186,15 +187,15 @@
  160.  /*    internal constants    */
  161.  
  162.  #define    NBINDS    256            /* max # of bound keys        */
  163. -#define NFILEN  80                      /* # of bytes, file name        */
  164. +#define NFILEN  256                      /* # of bytes, file name        */
  165.  #define NBUFN   16                      /* # of bytes, buffer name      */
  166. -#define NLINE   256                     /* # of bytes, line             */
  167. +#define NLINE   4096                     /* # of bytes, line             */
  168.  #define    NSTRING    128            /* # of bytes, string buffers    */
  169.  #define NKBDM   256                     /* # of strokes, keyboard macro */
  170.  #define NPAT    128                     /* # of bytes, pattern          */
  171.  #define HUGE    1000                    /* Huge number                  */
  172.  #define    NLOCKS    100            /* max # of file locks active    */
  173. -#define    NCOLORS    8            /* number of supported colors    */
  174. +#define    NCOLORS    16            /* number of supported colors    */
  175.  #define    KBLOCK    250            /* sizeof kill buffer chunks    */
  176.  #define    NBLOCK    16            /* line block chunk size    */
  177.  #define    NVSIZE    10            /* max #chars in a var name    */
  178. ./epath.h,v ./epath.h
  179. --- ./epath.h    1995/09/22 23:19:57    1.1
  180. +++ ./epath.h    1995/09/22 23:21:29
  181. @@ -54,8 +54,8 @@
  182.  {
  183.      ".emacsrc",
  184.      "emacs.hlp",
  185. -    "/usr/local/",
  186. -    "/usr/lib/",
  187. +    "/usr/local/lib/uemacs/",
  188. +    "/usr/lib/uemacs/",
  189.      ""
  190.  };
  191.  #endif
  192. ./main.c,v ./main.c
  193. --- ./main.c    1995/09/22 23:31:08    1.1
  194. +++ ./main.c    1995/09/23 00:33:50
  195. @@ -1119,9 +1119,12 @@
  196.      return(FALSE);
  197.  }
  198.  
  199. -meta()    /* dummy function for binding to meta prefix */
  200. +
  201. +#if ! NCURSES 
  202. +meta() /* dummy function for binding to meta prefix */
  203.  {
  204.  }
  205. +#endif
  206.  
  207.  cex()    /* dummy function for binding to control-x prefix */
  208.  {
  209. ./edef.h,v ./edef.h
  210.